home *** CD-ROM | disk | FTP | other *** search
/ AppleScript - The Beta Release / AppleScript - The Beta Release.iso / Developer Scripts / QuickKeys AS Extension / QK AppleScript ReadMe < prev   
Text File  |  1992-11-24  |  4KB  |  51 lines

  1. November 17, 1992
  2.  
  3. Welcome to the AppleScript™ Extension for QuicKeys™ Read Me file.
  4.  
  5. WARNING:  THE ACCOMPANYING EXTENSION IS A PRERELEASE ADDITION FOR CE SOFTWARE'S QUICKEYS UTILITY.  THIS EXTENSION MAY OR MAY NOT BE INCLUDED IN FUTURE VERSIONS OF QUICKEYS.  THIS COPY IS PROVIDED ONLY FOR LICENSED USERS OF THIS CD-ROM AND MAY NOT BE REDISTRIBUTED.
  6.  
  7. CE SOFTWARE'S TECHNICAL SUPPORT LINES CANNOT PROVIDE SUPPORT ON THIS PRERELEASE UTILITY.  YOU MAY SEND FEEDBACK TO THE APPLELINK ADDRESS OF "DON.BROWN"; HOWEVER, NO RESPONSES OR FIXES ARE PROMISED (but I'll try).  USE OF THIS EXTENSION IS AT YOUR OWN RISK.
  8.  
  9. Requirements:
  10.    QuicKeys™ version 2.1 or later
  11.    CEIAC 2.00as or later (included with this extension)
  12.    AppleScript™ a10 or later
  13.  
  14. AppleScript is Apple's exciting new scripting language for controlling Apple® Event aware programs.  Executing scripts from QuicKeys means that scripts can be executed with a keystroke, from a QuicKeys menu, on a timed basis, or merged with other QuicKeys' capabilities.
  15.  
  16. To install, put the AppleScript.QK extension in the Extensions folder in the QuicKeys folder in the Preferences folder in your System folder (or use QuicKeys' Extension Manager to install it).  You also need to install the new CEIAC by dragging the new icon into the System folder.  You may need to drag the old CEIAC out because your system may not be able to replace it automatically if CEIAC is still running in the background.  Reboot.
  17.  
  18. To create the keys, open the QuicKeys editor and select AppleScript from the Extensions submenu from the Define menu.  A dialog box appears.
  19.  
  20. The script can be tied to the key in two ways:
  21. (1)  If the script is 2000 characters or less, you can click the Modify text button and paste the script into the editor window.  (This editor window has no scrolling bar and no ability to check the syntax, so we recommend you write the script in Toy Surprise and copy and paste it into QuicKeys).
  22.  
  23. (2)  If your script is longer than 2000 characters, you may save the script into a file on some volume and point the extension to that file.  QuicKeys will open the file, read the script and run the script at execution time.
  24.  
  25. Once the script is entered, it can be triggered by a keystroke, a timer, from a QuicKeys menu, a SoftKey palette, a QK Icon or any other method of executing QuicKeys.
  26. Note:  The application the key works with must be running when the script is executed.
  27.  
  28. If your script returns a result, QuicKeys can act upon that result by doing one of the following:
  29.   (1)  Ignoring it.  (Nothing happens.)
  30.  
  31.   (2)  Typing it.  (QuicKeys will convert the result to text and then generate keydown events for the result (up to 255 characters).)
  32.  
  33.   (3)  Displaying it.  (QuicKeys will convert the result to text and then display the result in a notification manager dialog (up to 255 characters).)
  34.  
  35.   (4)  Putting it on the Clipboard.  (QuicKeys will get the result in its native form and put it on the Clipboard.  It cannot do a complete Clipboard coercion, so some programs (such as Microsoft Word) may not be able to access this Clipboard.  In that case, put the key in a sequence that brings the Finder to the front, executes the key and then brings Microsoft Word to the front.)
  36.  
  37. There will be an option where, before the key is executed, the contents of the Clipboard will be converted to text and stored in an AppleScript variable called QKClipboard which will let your script modify or respond to the Clipboard.  This feature is not implemented as of yet.
  38.  
  39. Donald Brown
  40. ==================================================================
  41. Copyright © 1992 CE Software, Inc.  All Rights Reserved.
  42.  
  43. QuicKeys, QuicKeys 2, TAA, Technical Assistance Assistant, Tiles, CEToolbox, DialogKeys, QuickMail, DiskTop, Extension Manager, Heap Fixer, Type Ease, Paste Ease, Grab Ease, Screen Ease, Speak Ease, Mounty, Choosy, DisMounty, and CEIAC are trademarks of CE Software, Inc.  All other trademarks are the property of their respective holders.
  44.  
  45. CE Software, Inc.
  46. P.O. Box 65580
  47. West Des Moines
  48. Iowa  50265  U.S.A.
  49. (515) 224-1995
  50. FAX:  (515) 224-4534
  51. QuickMail:  (515) 224-1721